// $Id: filedistributornaive.h 72 2004-12-02 15:03:28Z jonas $
#ifndef FILEDISTRIBUTORNAIVE_H
#define FILEDISTRIBUTORNAIVE_H

#include "filedistributor.h"

/**
 * This file dirstributor hands out a file to a random node.
 */
class FileDistributorNaive : public FileDistributor {
public:
	FileDistributorNaive(std::list<Node *> *);
	void distribute();

private:
	Node *getClosestNode(File *);
};

#endif
